<template>
  <div class="container">
    <div class="title">
      黑龙江国泰宏益保险代理有限公司
    </div>
    <div class="image-wrapper">
      <img class="banner" src="@/assets/image/banner.png"/>
      <div class="left tag" style="font-size: 30px;">保险产品销售</div>
      <div class="right tag" style="font-size: 30px;">保险业务代理</div>
      <div class="bottom tag" style="font-size: 30px;">保险费用收取</div>
    </div>
    <div class="main-title">
      基本信息
    </div>
    <div class="sub-title">
      ESSENTIAL INFOMATION
    </div>
    <div class="base-info">
      <div class="info-container">
        <div class="info-wrapper">
          <img src="@/assets/image/icon_flower.png" alt="">
          <div class="text">建立日期</div>
          <div class="text" style="grid-column-start: 2">2009年04月21日</div>
        </div>
        <div class="info-wrapper">
          <img src="@/assets/image/icon_list.png" alt="">
          <div class="text">企业地址</div>
          <div class="text" style="grid-column-start: 2">哈尔滨市南岗区大成街140号龙电花园E栋1层13号</div>
        </div>
      </div>
    </div>
    <div class="business-container">
      <div class="main-title">
        经营范围
      </div>
      <div class="sub-title">
        NATURE OF BUSINESS
      </div>
      <div class="business-wrapper">
        <card :img-src="require('@/assets/image/icon_message.png')" title="销售保险产品"/>
        <card :img-src="require('@/assets/image/icon_star.png')" title="代理收取保险费"/>
        <card :img-src="require('@/assets/image/icon_hexagon.png')" title="代理保险损失勘查理赔"/>
      </div>
    </div>
    <div class="company-container">
      <div class="main-title">
        公司简介
      </div>
      <div class="sub-title">
        COMPANY PROFILE
      </div>
      <img class="bg-building" src="@/assets/image/bg_building.png" alt="">
      <div class="company-text" style="font-size: 26px;">
        <p>黑龙江国泰宏益保险代理有限公司</p>
        <p>2009年04月21日成立</p>
        <p>法定代表人秦春生 </p>
        <p>公司经营范围包括：</p>
        <p>在黑龙江省行政辖区内代理销售保险产品；代理收取保险费；代理相关保险业务的损失勘查和理赔；中国银保监会批准的其他业务（经营保险代理业务许可证有效期至2023年3月31日）等。</p>
      </div>
    </div>
    <div class="footer">
      COPYRIGHT ©2021 黑龙江国泰宏益保险代理有限公司
    </div>
  </div>
</template>

<script>
// @ is an alias to /src

import Card from "@/components/Card";

export default {
  name: 'Home',
  components: {
    Card
  }
}
</script>
<style lang="less" scoped>
.container {
  @minScreenWidth: 1366px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

  .image-wrapper {
    position: relative;

    .left {
      top: 160px;
      left: 330px;
    }

    .right {
      top: 160px;
      right: 330px;
    }

    .bottom {
      bottom: 40px;
      right: 0;
      left: 0;
      text-align: center;
    }

    .tag {
      position: absolute;
      color: #FFFFFF;
    }
  }

  .title {
    font-size: 30px;
    margin-top: 77px;
  }

  .banner {
    margin-top: 27px;
    width: 100%;
    min-width: @minScreenWidth;
  }

  .main-title {
    font-size: 44px;
    font-weight: 600;
    margin-top: 40px;
  }

  .sub-title {
    font-size: 24px;
    margin-top: 20px;
  }

  .base-info {
    background-image: url("../assets/image/bg_base_info.png");
    width: 1241px;
    height: 399px;
    margin: 20px 0 30px 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    .info-container {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      width: 100%;
      height: 100%;
      box-sizing: border-box;

      .info-wrapper {
        width: 100%;
        display: grid;
        align-items: center;
        grid-template-columns: 20% auto;
        grid-template-rows: repeat(2, auto);

        img {
          justify-self: center;
          width: 100px;
          grid-row-start: 1;
          grid-row-end: 3;
        }

        .text {
          font-size: 23px;
        }
      }

    }
  }

  .business-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #F6F6F6;
    width: 100%;
    height: 628px;

    .business-wrapper {
      width: 70%;
      display: flex;
      margin-top: 60px;
      justify-content: space-around;
    }
  }

  .company-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px;
    .bg-building {
      margin-top: 60px;
      width: 1070px;
      height: 466px;
    }

    .company-text {
      margin: -300px 0 0 -500px;
      background: #FFFFFFDD;
      line-height: 52px;
      width: 746px;
      height: 338px;
      padding: 57px;
      box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15);
      font-weight: 600;
    }
  }
  .footer {
    background-color: #212331;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    width: 100%;
    height: 142px;
  }
}

</style>
